1 Please call O_MID_Init() first 2 Invalid port number 3 No midi device found 4 No element to close 5 Please open an element before playing 6 The device is not playing 7 Please stop the playback before closing the file 9 The device is not paused 10 The device is playing 11 Changing port during pause is not allowed 12 Invalid device number